

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>pyamp.ui.qt.scrollableList &mdash; pyamp v1.2 documentation</title>
    <link rel="stylesheet" href="../../../../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../../../../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../../../../',
        VERSION:     '1.2',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../../../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../../../_static/doctools.js"></script>
    <link rel="top" title="pyamp v1.2 documentation" href="../../../../index.html" />
    <link rel="up" title="pyamp.ui.qt" href="../qt.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../../../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../../../../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li><a href="../../../../index.html">pyamp v1.2 documentation</a> &raquo;</li>
          <li><a href="../../../index.html" >Module code</a> &raquo;</li>
          <li><a href="../qt.html" accesskey="U">pyamp.ui.qt</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <h1>Source code for pyamp.ui.qt.scrollableList</h1><div class="highlight"><pre>
<span class="c"># Copyright 2012 Brett Ponsler</span>
<span class="c"># This file is part of pyamp.</span>
<span class="c">#</span>
<span class="c"># pyamp is free software: you can redistribute it and/or modify</span>
<span class="c"># it under the terms of the GNU General Public License as published by</span>
<span class="c"># the Free Software Foundation, either version 3 of the License, or</span>
<span class="c"># (at your option) any later version.</span>
<span class="c">#</span>
<span class="c"># pyamp is distributed in the hope that it will be useful,</span>
<span class="c"># but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<span class="c"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<span class="c"># GNU General Public License for more details.</span>
<span class="c">#</span>
<span class="c"># You should have received a copy of the GNU General Public License</span>
<span class="c"># along with pyamp.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span>
<span class="sd">&#39;&#39;&#39;The scrollableList module contains the ScrollableList class which provides</span>
<span class="sd">and implementation of the BaseWidget class to display a WidgetList within</span>
<span class="sd">a QScrollArea.</span>

<span class="sd">&#39;&#39;&#39;</span>
<span class="kn">from</span> <span class="nn">PyQt4</span> <span class="kn">import</span> <span class="n">QtCore</span><span class="p">,</span> <span class="n">QtGui</span>

<span class="kn">from</span> <span class="nn">pyamp.ui.qt</span> <span class="kn">import</span> <span class="n">BaseWidget</span>
<span class="kn">from</span> <span class="nn">pyamp.ui.qt</span> <span class="kn">import</span> <span class="n">WidgetList</span>


<div class="viewcode-block" id="ScrollBarPolicy"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollBarPolicy">[docs]</a><span class="k">class</span> <span class="nc">ScrollBarPolicy</span><span class="p">:</span>
    <span class="sd">&#39;&#39;&#39;The ScrollBarPolicy class contains the policies which control</span>
<span class="sd">    the visibility of a scrollbar.</span>

<span class="sd">    &#39;&#39;&#39;</span>

    <span class="n">AsNeeded</span> <span class="o">=</span> <span class="n">QtCore</span><span class="o">.</span><span class="n">Qt</span><span class="o">.</span><span class="n">ScrollBarAsNeeded</span>
    <span class="sd">&#39;&#39;&#39;The scrollbar will be visible only when the all of the scroll area</span>
<span class="sd">    cannot be viewed at once.</span>

<span class="sd">    &#39;&#39;&#39;</span>

    <span class="n">AlwaysOff</span> <span class="o">=</span> <span class="n">QtCore</span><span class="o">.</span><span class="n">Qt</span><span class="o">.</span><span class="n">ScrollBarAlwaysOff</span>
    <span class="sd">&#39;&#39;&#39;The scrollbar will never be displayed.&#39;&#39;&#39;</span>

    <span class="n">AlwaysOn</span> <span class="o">=</span> <span class="n">QtCore</span><span class="o">.</span><span class="n">Qt</span><span class="o">.</span><span class="n">ScrollBarAlwaysOn</span>
    <span class="sd">&#39;&#39;&#39;The scrollbar will always be displayed.&#39;&#39;&#39;</span>

</div>
<div class="viewcode-block" id="ScrollableList"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList">[docs]</a><span class="k">class</span> <span class="nc">ScrollableList</span><span class="p">(</span><span class="n">BaseWidget</span><span class="p">):</span>
    <span class="sd">&#39;&#39;&#39;The ScrollableList class creates a BaseWidget that contains a</span>
<span class="sd">    QScrollArea which displays a WidgetList inside of the scroll area. This</span>
<span class="sd">    allows a the user to scroll through the WidgetList to see previously added</span>
<span class="sd">    widgets.</span>

<span class="sd">    In order to fix the size of the scroll area, subclasses of ScrollableList</span>
<span class="sd">    should set the *size* class property which is a QSize object.</span>

<span class="sd">    &#39;&#39;&#39;</span>
    <span class="n">size</span> <span class="o">=</span> <span class="n">QtCore</span><span class="o">.</span><span class="n">QSize</span><span class="p">(</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span> <span class="o">-</span><span class="mi">1</span><span class="p">)</span>
    <span class="sd">&#39;&#39;&#39;The size property contains the size of the scrollable list.&#39;&#39;&#39;</span>

    <span class="n">margin</span> <span class="o">=</span> <span class="mi">0</span>
    <span class="sd">&#39;&#39;&#39;The margin property contains the margin between all items in the list.</span>

<span class="sd">    &#39;&#39;&#39;</span>

    <span class="n">horizontalPolicy</span> <span class="o">=</span> <span class="n">ScrollBarPolicy</span><span class="o">.</span><span class="n">AlwaysOff</span>
    <span class="sd">&#39;&#39;&#39;The horizontalPolicy property contains the :class:`.ScrollBarPolicy`</span>
<span class="sd">    for the horizontal scrollbar.</span>

<span class="sd">    &#39;&#39;&#39;</span>

    <span class="n">verticalPolicy</span> <span class="o">=</span> <span class="n">ScrollBarPolicy</span><span class="o">.</span><span class="n">AsNeeded</span>
    <span class="sd">&#39;&#39;&#39;The verticalPolicy property contains the :class:`.ScrollBarPolicy`</span>
<span class="sd">    for the vertical scrollbar.</span>

<span class="sd">    &#39;&#39;&#39;</span>

<div class="viewcode-block" id="ScrollableList.sizeHint"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.sizeHint">[docs]</a>    <span class="k">def</span> <span class="nf">sizeHint</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Override the QWidget sizeHint function to return the size of this</span>
<span class="sd">        ScrollableList.</span>

<span class="sd">        &#39;&#39;&#39;</span>
        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">size</span>
</div>
<div class="viewcode-block" id="ScrollableList.createElements"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.createElements">[docs]</a>    <span class="k">def</span> <span class="nf">createElements</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Override the BaseWidget createElements class.&#39;&#39;&#39;</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">__listView</span> <span class="o">=</span> <span class="n">WidgetList</span><span class="p">(</span><span class="s">&quot;</span><span class="si">%s</span><span class="s">WidgetList&quot;</span> <span class="o">%</span> <span class="bp">self</span><span class="o">.</span><span class="n">name</span><span class="p">)</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">__listView</span><span class="o">.</span><span class="n">size</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">size</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">__listView</span><span class="o">.</span><span class="n">setMargin</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">margin</span><span class="p">)</span>

        <span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span> <span class="o">=</span> <span class="n">QtGui</span><span class="o">.</span><span class="n">QScrollArea</span><span class="p">()</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span><span class="o">.</span><span class="n">setWidget</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__listView</span><span class="p">)</span>

        <span class="c"># Set the horizontal and vertical scrollbar policies</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span><span class="o">.</span><span class="n">setHorizontalScrollBarPolicy</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">horizontalPolicy</span><span class="p">)</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span><span class="o">.</span><span class="n">setVerticalScrollBarPolicy</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">verticalPolicy</span><span class="p">)</span>

        <span class="k">return</span> <span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span><span class="p">]</span>
</div>
<div class="viewcode-block" id="ScrollableList.addWidget"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.addWidget">[docs]</a>    <span class="k">def</span> <span class="nf">addWidget</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">widget</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Add a widget to the ScrollableList widget.&#39;&#39;&#39;</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">__listView</span><span class="o">.</span><span class="n">addWidget</span><span class="p">(</span><span class="n">widget</span><span class="p">)</span>
</div>
<div class="viewcode-block" id="ScrollableList.addItem"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.addItem">[docs]</a>    <span class="k">def</span> <span class="nf">addItem</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">item</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Add an item to the ScrollabelList widget.&#39;&#39;&#39;</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">__listView</span><span class="o">.</span><span class="n">addItem</span><span class="p">(</span><span class="n">item</span><span class="p">)</span>
</div>
<div class="viewcode-block" id="ScrollableList.clearWidgets"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.clearWidgets">[docs]</a>    <span class="k">def</span> <span class="nf">clearWidgets</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Clear all of the widgets from the ScrollableList.&#39;&#39;&#39;</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">__listView</span><span class="o">.</span><span class="n">clear</span><span class="p">()</span>
</div>
<div class="viewcode-block" id="ScrollableList.getWidgetList"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.getWidgetList">[docs]</a>    <span class="k">def</span> <span class="nf">getWidgetList</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Get the WidgetList for this ScrollabeList.&#39;&#39;&#39;</span>
        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">__listView</span>
</div>
<div class="viewcode-block" id="ScrollableList.getScrollArea"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.getScrollArea">[docs]</a>    <span class="k">def</span> <span class="nf">getScrollArea</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Get the QScrollArea for this widget.&#39;&#39;&#39;</span>
        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span>
</div>
<div class="viewcode-block" id="ScrollableList.scroll"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.scroll">[docs]</a>    <span class="k">def</span> <span class="nf">scroll</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">amount</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Scroll the vertical scrollbar by the given amount.</span>

<span class="sd">        * amount -- The amount to scroll (negative being scrolling up, and</span>
<span class="sd">                    is positive scrolling down)</span>

<span class="sd">        &#39;&#39;&#39;</span>
        <span class="n">verticalScrollBar</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span><span class="o">.</span><span class="n">verticalScrollBar</span><span class="p">()</span>
        <span class="n">verticalScrollBar</span><span class="o">.</span><span class="n">setValue</span><span class="p">(</span><span class="n">verticalScrollBar</span><span class="o">.</span><span class="n">value</span><span class="p">()</span> <span class="o">+</span> <span class="n">amount</span><span class="p">)</span>
</div>
<div class="viewcode-block" id="ScrollableList.scrollTo"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.scrollTo">[docs]</a>    <span class="k">def</span> <span class="nf">scrollTo</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">y</span><span class="o">=</span><span class="mi">0</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Scroll to the given position.</span>

<span class="sd">        * y -- The y position to scroll to</span>

<span class="sd">        &#39;&#39;&#39;</span>
        <span class="n">verticalScrollBar</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span><span class="o">.</span><span class="n">verticalScrollBar</span><span class="p">()</span>
        <span class="n">verticalScrollBar</span><span class="o">.</span><span class="n">setSliderPosition</span><span class="p">(</span><span class="n">y</span><span class="p">)</span>
</div>
<div class="viewcode-block" id="ScrollableList.scrollToBottom"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.scrollToBottom">[docs]</a>    <span class="k">def</span> <span class="nf">scrollToBottom</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Scroll to the bottom of the list.&#39;&#39;&#39;</span>
        <span class="n">verticalScrollBar</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span><span class="o">.</span><span class="n">verticalScrollBar</span><span class="p">()</span>
        <span class="n">verticalScrollBar</span><span class="o">.</span><span class="n">setSliderPosition</span><span class="p">(</span><span class="n">verticalScrollBar</span><span class="o">.</span><span class="n">maximum</span><span class="p">())</span>
</div>
<div class="viewcode-block" id="ScrollableList.scrollToTop"><a class="viewcode-back" href="../../../../_generated/pyamp_ui_qt_scrollableList.html#pyamp.ui.qt.scrollableList.ScrollableList.scrollToTop">[docs]</a>    <span class="k">def</span> <span class="nf">scrollToTop</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;Scroll to the top of the list.&#39;&#39;&#39;</span>
        <span class="n">verticalScrollBar</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">__scrollArea</span><span class="o">.</span><span class="n">verticalScrollBar</span><span class="p">()</span>
        <span class="n">verticalScrollBar</span><span class="o">.</span><span class="n">setSliderPosition</span><span class="p">(</span><span class="n">verticalScrollBar</span><span class="o">.</span><span class="n">minimum</span><span class="p">())</span>

</div></div>
<span class="k">if</span> <span class="n">__name__</span> <span class="o">==</span> <span class="s">&#39;__main__&#39;</span><span class="p">:</span>
    <span class="kn">import</span> <span class="nn">sys</span>
    <span class="kn">from</span> <span class="nn">PyQt4.Qt</span> <span class="kn">import</span> <span class="n">QApplication</span><span class="p">,</span> <span class="n">QMainWindow</span>

    <span class="k">class</span> <span class="nc">MainWindow</span><span class="p">(</span><span class="n">QMainWindow</span><span class="p">):</span>
        <span class="sd">&#39;&#39;&#39;A MainWindow for testing the ScrollableList and WidgetList.&#39;&#39;&#39;</span>

        <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
            <span class="sd">&#39;&#39;&#39;Create the MainWindow.&#39;&#39;&#39;</span>
            <span class="n">QMainWindow</span><span class="o">.</span><span class="n">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span>

            <span class="c"># self.__view = WidgetList(mainWindow=self)</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">__view</span> <span class="o">=</span> <span class="n">ScrollableList</span><span class="p">(</span><span class="n">mainWindow</span><span class="o">=</span><span class="bp">self</span><span class="p">)</span>
            <span class="n">ScrollableList</span><span class="o">.</span><span class="n">size</span> <span class="o">=</span> <span class="n">QtCore</span><span class="o">.</span><span class="n">QSize</span><span class="p">(</span><span class="mi">100</span><span class="p">,</span> <span class="mi">300</span><span class="p">)</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">setCentralWidget</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__view</span><span class="p">)</span>

            <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">10</span><span class="p">):</span>
                <span class="n">label</span> <span class="o">=</span> <span class="n">QtGui</span><span class="o">.</span><span class="n">QLabel</span><span class="p">(</span><span class="s">&quot;Test </span><span class="si">%d</span><span class="s">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">i</span> <span class="o">+</span> <span class="mi">1</span><span class="p">))</span>
                <span class="bp">self</span><span class="o">.</span><span class="n">__view</span><span class="o">.</span><span class="n">addWidget</span><span class="p">(</span><span class="n">label</span><span class="p">)</span>

            <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">3</span><span class="p">):</span>
                <span class="n">label</span> <span class="o">=</span> <span class="n">QtGui</span><span class="o">.</span><span class="n">QPushButton</span><span class="p">(</span><span class="s">&quot;Test </span><span class="si">%d</span><span class="s">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">i</span> <span class="o">+</span> <span class="mi">1</span><span class="p">))</span>
                <span class="bp">self</span><span class="o">.</span><span class="n">__view</span><span class="o">.</span><span class="n">addWidget</span><span class="p">(</span><span class="n">label</span><span class="p">)</span>

            <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">4</span><span class="p">):</span>
                <span class="n">label</span> <span class="o">=</span> <span class="n">QtGui</span><span class="o">.</span><span class="n">QLineEdit</span><span class="p">()</span>
                <span class="bp">self</span><span class="o">.</span><span class="n">__view</span><span class="o">.</span><span class="n">addWidget</span><span class="p">(</span><span class="n">label</span><span class="p">)</span>

            <span class="bp">self</span><span class="o">.</span><span class="n">__view</span><span class="o">.</span><span class="n">clear</span><span class="p">()</span>

            <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">4</span><span class="p">):</span>
                <span class="n">label</span> <span class="o">=</span> <span class="n">QtGui</span><span class="o">.</span><span class="n">QLineEdit</span><span class="p">()</span>
                <span class="bp">self</span><span class="o">.</span><span class="n">__view</span><span class="o">.</span><span class="n">addWidget</span><span class="p">(</span><span class="n">label</span><span class="p">)</span>

    <span class="n">app</span> <span class="o">=</span> <span class="n">QApplication</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">)</span>
    <span class="n">window</span> <span class="o">=</span> <span class="n">MainWindow</span><span class="p">()</span>
    <span class="n">window</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
    <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="n">app</span><span class="o">.</span><span class="n">exec_</span><span class="p">())</span>
</pre></div>

          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../../../../search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../../../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../../../../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li><a href="../../../../index.html">pyamp v1.2 documentation</a> &raquo;</li>
          <li><a href="../../../index.html" >Module code</a> &raquo;</li>
          <li><a href="../qt.html" >pyamp.ui.qt</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012, Brett Ponsler.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.1.
    </div>
  </body>
</html>